package com.six.dao;

import java.util.List;

import org.springframework.transaction.annotation.Transactional;

import com.six.vo.Transfer;
import com.six.vo.temp.TransFerDto;

/**
 * ITransferDao 调仓 CRUD 操作接口
 * 
 */
//@Transactional(propagation=Propagation.REQUIRED)
public interface ITransferDao {
	/**
	 * 保存过户单
	 * 
	 */
	public void saveTransfer(Transfer transfer);
	/**
	 * 更新过户单
	 * 
	 */
	public void updateTransfer(Transfer transfer);
	/**
	 * 删除过户单
	 * 
	 */
	public void deleteTransfer(String transferId) throws Exception;
	/**
	 * 根据过户单 id 查询指定过户单
	 * 
	 */
	@Transactional(readOnly=true)
	public Transfer findTransferById(String transferId);
	/**
	 * 根据指定条件查询过户单列表
	 * 
	 */
	@Transactional(readOnly=true)
	public List<TransFerDto> findTransferList(String startTime, String endTime,String bcustID,
	String scustID);

}
